package com.qianniu.napi.admin.mapper;

import com.qianniu.napi.admin.entity.ChoujiangLog;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import javax.validation.Valid;
import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author chenxuebin
 * @since 2018-12-14
 */
public interface ChoujiangLogMapper extends BaseMapper<ChoujiangLog> {


//    List<ChoujiangLog> getToujiang(Map<String,String> map);
    List<ChoujiangLog> getToujiang(@Param("cjdate")String cjdate,@Param("mpid")String mpid);

    List<ChoujiangLog> getToujiangbygid(@Param("cjdate")String cjdate,@Param("gid")String gid);

    List<ChoujiangLog> getMyToujiang(@Param("uid")Long uid,@Param("mpid")String mpid);

    List<ChoujiangLog> getMyToujiangbygid(@Param("gid")String gid);

}